Testing of combined code changesets in a software product

ABSTRACT

A method, system, and/or computer program product tests combined code changesets in a software product. One or more combinations of two or more changesets are selected, wherein a changeset is a set of changes to a software product submitted by a single developer source. For each combination of two or more changesets, an interaction between changesets is calculated, wherein the interaction is an overlapping of code found in two or more changesets. A combination of two or more changesets that has a predetermined minimum interaction between changesets is selected for building and testing.

BACKGROUND

This invention relates to the field of software testing. In particular,the invention relates to testing of combined code changesets in asoftware product.

One of the tenets of successful agile software development is “realtime” verification.

A coder can build and test their own individual changeset Δ1independently of other coders' changesets Δ2, Δ3, Δ4, . . . , Δn. Achangeset is a set of changes which should be treated as an distinctgroup (i.e., an atomic package, or multiple atomic packages) produced bya single developer source. A “real time” verification approachencourages better code quality upfront: as the coder gets feedback onhis/her changeset alone, there is no room for doubt about the cause ofregression failures.

In contrast, common development strategies where build and test follow aregular cadence (for example, once per day) commonly involve buildingand testing a “melting pot” of changes. These can interact in unusualways leading to unexpected failures, and understandably coders do notwant to duplicate effort investigating (potentially) someone else'sproblem. This culture unfortunately can lead to lower quality injectedcode and the need for full time roles to analyze builds and testresults.

There are existing solutions to this problem. Known prior art providesthe facility for coders to submit “private” builds containing only theirchangeset and, with a sufficiently powerful build engine definition,this can include appropriate regression test capability.

Unfortunately, many legacy software projects face major challenges. Theproduct must often be built on multiple architectures and this relies onan extremely powerful and expensive regression capability built overmany years. It is not possible to provide this “per Δ” verificationcapability as the resource required to support it is orders of magnitudemore than that available.

Some improvements may be gained by optimizing the build and test cyclesto be as fast as possible. Techniques include: build only changed code;only run tests that exercise changed code. However, these techniquesonly work well for small changes and may not offer enough of a speedgain to reach the “build per changeset” goal.

Therefore, there is a need in the art to address the aforementionedproblems.

SUMMARY

A method, system, and/or computer program product tests combined codechangesets in a software product. One or more combinations of two ormore changesets are selected, wherein a changeset is a set of changes toa software product submitted by a single developer source. For eachcombination of two or more changesets, an interaction between changesetsis calculated, wherein the interaction is an overlapping of code foundin two or more changesets. A combination of two or more changesets thathas a predetermined minimum interaction between changesets is selectedfor building and testing.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The subject matter regarded as the invention is particularly pointed outand distinctly claimed in the concluding portion of the specification.The invention, both as to organization and method of operation, togetherwith objects, features, and advantages thereof, may best be understoodby reference to the following detailed description when read with theaccompanying drawings.

Preferred embodiments of the present invention will now be described, byway of example only, with reference to the following drawings in which:

FIG. 1 is a flow diagram of an example embodiment of an aspect of amethod in accordance with the present invention;

FIG. 2 is block diagram of an example embodiment of a system inaccordance with the present invention;

FIG. 3 is a block diagram of an embodiment of a computer system in whichthe present invention may be implemented; and

FIG. 4 is a schematic diagram showing a flow of an embodiment of amethod in accordance with the present invention in relation to thesystem components.

DETAILED DESCRIPTION

The present invention may be a system, a method, and/or a computerprogram product. The computer program product may include a computerreadable storage medium (or media) having computer readable programinstructions thereon for causing a processor to carry out aspects of thepresent invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, or either source code or object code written in anycombination of one or more programming languages, including an objectoriented programming language such as Smalltalk, C++ or the like, andconventional procedural programming languages, such as the “C”programming language or similar programming languages. The computerreadable program instructions may execute entirely on the user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer may be connected to the user's computer through anytype of network, including a local area network (LAN) or a wide areanetwork (WAN), or the connection may be made to an external computer(for example, through the Internet using an Internet Service Provider).In some embodiments, electronic circuitry including, for example,programmable logic circuitry, field-programmable gate arrays (FPGA), orprogrammable logic arrays (PLA) may execute the computer readableprogram instructions by utilizing state information of the computerreadable program instructions to personalize the electronic circuitry,in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the block may occur out of theorder noted in the figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions.

Some preferable embodiments will be described in more detail withreference to the accompanying drawings, in which the preferableembodiments of the present disclosure have been illustrated. However,the present disclosure can be implemented in various manners, and thusshould not be construed to be limited to the embodiments disclosedherein. On the contrary, those embodiments are provided for the thoroughand complete understanding of the present disclosure, and completelyconveying the scope of the present disclosure to those skilled in theart.

It will be appreciated that for simplicity and clarity of illustration,elements shown in the figures have not necessarily been drawn to scale.For example, the dimensions of some of the elements may be exaggeratedrelative to other elements for clarity. Further, where consideredappropriate, reference numbers may be repeated among the figures toindicate corresponding or analogous features.

In the following detailed description, numerous specific details are setforth in order to provide a thorough understanding of the invention.However, it will be understood by those skilled in the art that thepresent invention may be practiced without these specific details. Inother instances, well-known methods, procedures, and components have notbeen described in detail so as not to obscure the present invention.

Method and system are provided for testing a combination of two or morecode changesets, with each changeset being a set of changes from asingle developer source. The described method and system providepseudo-independent code verification for a developer's changeset whereactual real-time independent code verification cannot be performed or istoo expensive to perform. The “pseudo-independent” code verificationactually verifies a changeset together with one or more other changesetsand not independently, but as the interaction of the changesets isminimized this has the outcome of being “pseudo-independent”.

The described testing is designed to provide coders with earlyconfidence that their changeset works “independently” of otherchangesets. Once this has been established, the changeset may bedelivered to a “full” production stream, and built and tested usingconventional technologies.

The described method aims to identify suitable combinations ofchangesets and to create a software build based on an analysis ofoverlap between the changesets. More specifically, an overlap between atwo or more changesets comprised in the software build is minimized. Theoverlap may be identified based on code coverage, in particular using anoverlap in test cases covering the two or more changesets in thecombination.

Referring to FIG. 1, a flow diagram 100 shows an embodiment of thedescribed method.

Coders developing software submit 101 their individual changesets, Δn.

The method may understand the build and test engine capacity, and thusmay include the step of determining 102 if there are sufficientresources to build and test changesets individually (for example, as perexisting Rational Team Concert implementation). If there is sufficientcapacity, the changeset Δn may be built and tested 103 individually.

If there is not sufficient capacity, the method may propose 104 buildcombinations of two or more changesets by comparing the availablechangesets Δn and determining appropriate build combinations. Forexample, build combinations may be C1=(Δ1, Δ2), C2=(Δ2, Δ3), etc.

For each combination of changesets, the interactions 105 between thecontributing changesets Δn may be calculated.

The overlap or interactions may be determined through code coverage. Analternative embodiment may use expert opinion, or looking to see whichsource files have been updated.

Code coverage is a well-recognized tool and may be used to implementthis step. Code coverage is a measure used in software testing. Itdescribes the degree to which the source code of a program has beentested.

Code coverage tools may determine which tests cover a given codechangeset. Code coverage is based on the definition “if the codecoverage C that is executed by test-case TC does NOT overlap with thecode changeset Δ, then the outcome of test-case TC is unaffected bychangeset Δ”. This statement is true for many changesets and forms thebasis of many advanced testing techniques. The described method may usethis definition of code coverage to provide a mechanism for determiningwhether changesets from different developers “overlap” and thereforepotentially suffer from interaction defects.

In one embodiment, this may be carried out by determining a set of testcases that exercise each changeset and by determining an overlap of thetest cases. For example, changeset Δ1 may be tested in TC1, TC2, TC3,changeset Δ2 may be tested in TC3, TC4, TC5; and build combinations maybe C1=(Δ1, Δ2), C2=(Δ2, Δ3), etc.). In this case, combination C1 has anoverlap O(C1) in test TC3.

The overlap data may be analyzed to decide 106 the most effective buildcombination to submit. The aim is to choose the most efficientpseudo-independent builds (i.e., with the lowest amount of overlap). Theanalysis may determine the minimum interaction of the changesets whilstalso, optionally, considering the number of changesets in a combinationto maximize the effectiveness of a combined build and test.

In the embodiment above, build combinations with no overlap of testcases (O(Cn)=null) may be submitted first. If there is an overlap in thetest cases of a build combination, then there is a higher potential ofoverlap with another developer's changesets than if there is no overlap.The developer may therefore be alerted that “test failures may be causedby integration issues with changeset X from developer Y”, so if they dosee failures, they have a head start in what might be causing the issue.

Examples of criteria for selecting the build combination are givenbelow.

In a first example criteria, a combination may be selected in which theaim is to: minimize the overlap in the combination and thereby have thebest pseudo-independence; and maximize the number of changesets in thecombination, so that there are fewer overall builds required. Each buildcosts money and time in waiting for results.

In general, the amount of overlap is expected to increase as the numberof contributing changesets increases, so these appear mutuallyexclusive; however, in practice there will be some combinations that arebetter than others.

In a second example, combinations may be selected only where there is nooverlap.

In a third example, two random changesets may be chosen and built as acombination. This embodiment does not choose a combination buildintelligently, but will halve the costs of two independent builds.

Builds with combined changesets with minimized interactions may besubmitted 107 and the collective set of appropriate test cases may becompiled spanning the multiple changesets Δn. Each test case may beadded to the collective set that exercises at least one of thechangesets.

If the test case exercises more than one changeset, then it is anintegration test case as it potentially offers information on theintegration of multiple changesets. Potential interactions betweenchangesets Δn may be highlighted in an integration test. If there is anintegration test that covers more than one changeset, a potentialinteraction may be flagged or tagged for the user.

It may be determined 108, if the collective set of test cases pass.Should the collective set of test cases pass, coders may treat 109 theresulting build/test results as if they contain only their changeset Δn.

If the collective set of test cases fail, alternative build combinationsmay be submitted 110, or the appropriate coders can work together toeradicate the integration issue.

As an enhancement, the integration test case(s) may be prioritizedhigher than tests that only test one changeset, and so give an early andfast indication of whether pseudo-independence has been achieved. Thetest case list may comprise integration test cases (those whichexercise>1 changeset) and normal test cases (those that exercise just 1changeset). It can be determined if the build really ispseudo-independent if the integration tests pass; therefore, theintegration tests may be run first. This is in line with best practiceto “run the most useful tests first”.

Referring to FIG. 2, a block diagram shows an example embodiment of thedescribed system 200.

Multiple code developers or coders 201, 202, 203 may feed code changesin the form of changesets 211, 212, 213 to a holding repository 210.

A resource determining component 220 may be provided for determining ifthere are sufficient resources to build and test changesetsindividually. If the resource determining component 220 determines thatthere are not sufficient resources to build and test changesetsindividually, it may activate a combination development component 230for determining possible combinations of changesets for building andtesting.

The combination development component 230 may include a combinationcomponent 231 for proposing possible combinations of changesets and aninteraction calculating component 232 for determining the overlap orinteraction between changesets in a combination. The interactioncalculating component may include a test calculating component 233 fordetermining a set of test cases that exercise each changeset componentand the overlap of test cases for each combination.

A build decision engine 240 may be provided including a data collationcomponent 241 for collating and analyzing data relating to theinteraction of changesets for each combination and determining the mostappropriate build combination(s) to submit and test. This decision maybe based on specified criteria such as the minimum overlap betweencombined changesets with a maximum number of contributing changesets.

A build and test component 250 may be provided for building the combinedchangesets and applying integrated test cases.

Referring to FIG. 3, an exemplary system for implementing aspects of theinvention includes a data processing system 300 suitable for storingand/or executing program code including at least one processor 301coupled directly or indirectly to memory elements through a bus system303. The memory elements may include local memory employed during actualexecution of the program code, bulk storage, and cache memories whichprovide temporary storage of at least some program code in order toreduce the number of times code must be retrieved from bulk storageduring execution.

The memory elements may include system memory 302 in the form of readonly memory (ROM) 304 and random access memory (RAM) 305. A basicinput/output system (BIOS) 306 may be stored in ROM 304. System software307 may be stored in RAM 305 including operating system software 308.Software applications 310 may also be stored in RAM 305.

The system 300 may also include a primary storage means 311 such as amagnetic hard disk drive and secondary storage means 312 such as amagnetic disc drive and an optical disc drive. The drives and theirassociated computer-readable media provide non-volatile storage ofcomputer-executable instructions, data structures, program modules andother data for the system 300. Software applications may be stored onthe primary and secondary storage means 311, 312 as well as the systemmemory 302.

The computing system 300 may operate in a networked environment usinglogical connections to one or more remote computers via a networkadapter 316.

Input/output devices 313 may be coupled to the system either directly orthrough intervening I/O controllers. A user may enter commands andinformation into the system 300 through input devices such as akeyboard, pointing device, or other input devices (for example,microphone, joy stick, game pad, satellite dish, scanner, or the like).Output devices may include speakers, printers, etc. A display device 314is also connected to system bus 303 via an interface, such as videoadapter 315.

Referring to FIG. 4, a schematic diagram 400 shows an example embodimentof the described method in conjunction with system components. Thesystem components shown in FIG. 2 have the same reference numbers.

Coders 201, 202, 203 may feed changesets, Δ1 401, Δ2 402, Δ3 403, into aholding repository 210. For each changeset Δn 401-403, a set of testcases [T(Δn)] 421-423 may be determined that exercise that changeset.

A full set of repository possible build combinations C1 411, C2 412, C3413, C4 414 may be determined including the changesets Δn 401-403. Inthis example, the build combinations may include C1=(Δ1, Δ2), C2=(Δ2,Δ3), Δ3=(Δ2, Δ3), C4=(A1, A2, A3).

For each combination Ci 411-413 of changesets, the method may calculatethe overlap O(Ci) 431, 432, 433, 434 between the relevant test casesT(Δn) 421-423 covering the contributing changesets Δn 401-403.

In this example, the overlaps are underlined in FIG. 4 and are asfollows: O(C1)=TC3, O(C2)=null, O(C3)=TC4, TC5, TC6, O(C4)=TC4, TC5,TC6.

The overlap data O(Ci) 431-434 may be sent to a build decision engine240 which decides the most appropriate build Cn 441 combining changesetsΔn.

The build decision engine may select the most efficientpseudo-independent build combinations. In the example above shown inFIG. 4, the combination of C2 may be chosen as there is null overlap.

Existing products focus on how to make continuous integration a reality,rather than on how to cope better when it is not a reality. Thedescribed solution may combine code-coverage tools with combined buildselections rather than with targeted testing.

This solution does not seek to find new defects which are otherwisemissed using conventional testing techniques. Instead, it provides amechanism by which defects can be found earlier and more cheaply—bettersupporting the vision of “continuous integration” advocated by agiledevelopment approaches.

The described method is designed to provide coders cheap and earlyconfidence that their changes work “independently” of other changesets.Once this has been proven, the changes can be delivered to a “full”production stream, and built/tested using conventional technologies.

Overall this method is cheap and reliable as only defects resulting frominteracting changesets will remain in production builds, which aretypically very expensive to debug and diagnose.

With standard build/test approaches, if a build fails it is verydifficult to identify which changeset(s) cause the failures. Therefore,diagnostics have to be run and analyzed, often requiring expensiverecreates of the test, in order to dig down into which changeset causedthe issue, and hence which line(s) of code to change to fix thefailures. With pseudo-independence, a much faster indication is obtainedof which changeset caused the failures, giving developers a head starton localizing where the bug is.

A test centric view of a changeset is provided which allows for multiplechanges to the same file(s) regardless of merging so long as the changesare covered by separate tests.

Compilation (generation of builds) is guarded on test coverage overlapand not test outcome. As the overlap may be calculated before the buildand tests are run, time is not spent building changesets and runningtests before realizing there is a conflict. This enables useful buildsand test to be carried out.

Failures may be assigned to an owner quickly based on known coveragethus removing the need for ‘up front’ failure analysis.

A method and system are provided for testing of combined code changesetsin a software product. The method may include: proposing one or morecombinations of two or more changesets, wherein a changeset is a set ofchanges to the software product submitted by a single developer source;for each combination, calculating an interaction between changesets; andselecting a combination for building and testing having a minimuminteraction between changesets.

According to a first aspect of the present invention there is provided amethod for testing of combined code changesets in a software product,comprising: proposing one or more combinations of two or morechangesets, wherein a changeset is a set of changes to the softwareproduct submitted by a single developer source; for each combination,calculating an interaction between changesets; and selecting acombination for building and testing having a minimum interactionbetween changesets.

The method may include: determining if there is sufficient building andtesting capacity to test a changeset individually; if so, building andtesting the changeset individually; if not, carrying out the stepsdefined in claim 1.

Calculating an interaction between changesets may use code coveragetechniques. Calculating an interaction between changesets may include:determining a set of test cases that exercise each changeset; anddetermining the overlap of test cases in each proposed buildcombination.

Selecting a combination for building and testing may include:determining a combination having a minimum interaction for a maximumnumber of changesets in the combination.

The method may include building the software product including thecombination of changesets and carrying out a collective set of tests fortesting the changesets of the combination. If the collective set oftests includes an integration test case exercising more than onechangeset, the method may give the integration test case priority in thecollective set of tests.

If the software product passes the collective set of tests, the methodmay treat the results as if each of the changesets in the combinationhad been tested individually.

The method may include highlighting potential interactions in acombination before testing the software product.

The method may further include prioritizing combinations for testingwith no interaction between changesets.

According to a second aspect of the present invention there is provideda system for testing of combined code changesets in a software product,comprising: a combination component for proposing one or morecombinations of two or more changesets, wherein a changeset is a set ofchanges to the software product submitted by a single developer source;an interaction calculating component for calculating an interactionbetween changesets in each combination; and a build decision engine forselecting a combination for building and testing having a minimuminteraction between changesets.

The system may include a resource determining component for determiningif there is sufficient building and testing capacity to test a changesetindividually.

The interaction calculating component may use code coverage techniques.The interaction calculating component may include a test calculatingcomponent for determining a set of test cases that exercise eachchangeset and determining the overlap of test cases in each proposedbuild combination.

The build decision engine for selecting a combination for building andtesting may include a data collation component for determining acombination having a minimum interaction for a maximum number ofchangesets in the combination.

The system may include a build and test component for building thesoftware product including the combination of changesets and carryingout a collective set of test for testing of the changesets of thecombination.

The build and test component may determine if the collective set oftests includes an integration test case exercising more than onechangeset, and giving the integration test case priority in thecollective set of tests.

The interaction calculating component may highlight potentialinteractions in a combination before testing the software product.

The build decision engine may be for prioritizing combinations fortesting with no interaction between changesets.

According to a third aspect of the present invention there is provided acomputer program product for testing of combined code changesets in asoftware product, the computer program product comprising: a computerreadable storage medium readable by a processing circuit and storinginstructions for execution by the processing circuit for performing amethod according to the first aspect of the present invention.

According to a fourth aspect of the present invention there is provideda computer program stored on a computer readable medium and loadableinto the internal memory of a digital computer, comprising software codeportions, when said program is run on a computer, for performing themethod of any of the first aspect of the present invention.

According to a fifth aspect of the present invention there is provided amethod substantially as described with reference to the figures.

According to a sixth aspect of the present invention there is provided asystem substantially as described with reference to the figures.

The described aspects of the invention provide the advantage ofproviding an alternative strategy by which more efficient use is made ofexisting build and test capabilities providing users with“pseudo-independent” builds, which they can treat as containing onlytheir fix. Therefore, the invention solves the problem but with muchreduced cost than existing solutions.

The invention can take the form of an entirely hardware embodiment, anentirely software embodiment or an embodiment containing both hardwareand software elements. In a preferred embodiment, the invention isimplemented in software, which includes but is not limited to firmware,resident software, microcode, etc.

Improvements and modifications can be made to the foregoing withoutdeparting from the scope of the present invention.

What is claimed is:
 1. A method for testing changesets in a softwareproduct, the method comprising: determining, by one or more processors,whether there is sufficient building and testing capacity to test asingle changeset individually, wherein a changeset is a set of changesto a software product; in response to determining that there issufficient building and testing capacity to test the single changesetindividually, building and testing, by one or more processors, thesingle changeset individually; and in response to determining that thereis not sufficient building and testing capacity to test the singlechangeset individually: selecting, by one or more processors, a firstcombination of changesets from multiple changesets; calculating, by oneor more processors and for each combination of two or more changesetsfrom the multiple changesets, an interaction between changesets in saideach combination, wherein the interaction is an overlapping of codefound in two or more changesets; determining, by one or more processors,that the first combination of changesets has a lower amount ofoverlapping of code than any other combination of changesets from themultiple changesets; and selecting, by one or more processors, the firstcombination of changesets for building and testing, wherein said firstcombination of changesets has the lower amount of overlapping of codethan any other combination of changesets from the multiple changesets;and building and testing, by one or more processors, the firstcombination of changesets.
 2. The method of claim 1, wherein themultiple changesets are submitted by a single developer source.
 3. Themethod as claimed in claim 1, further comprising: building and testing,by one or more processors, both the single changeset and the firstcombination of changesets, wherein the first combination of changesetsis built and tested before the single changeset is built and tested. 4.The method as claimed in claim 1, wherein calculating an interactionbetween changesets uses code coverage techniques.
 5. The method asclaimed in claim 1, wherein calculating an interaction betweenchangesets comprises: creating, by one or more processors, two or moreproposed build combinations of three or more changesets; executing, byone or more processors, a set of test cases that test each of the threeor more changesets under a predefined set of test scenarios; anddetermining, by one or more processors, an overlap of test cases in eachof the proposed build combinations.
 6. The method as claimed in claim 1,wherein selecting the first combination of two or more changesets forbuilding and testing comprises: determining, by one or more processors,a combination of two or more changesets having less than a predeterminedmaximum interaction for more than a predetermined minimum number ofchangesets in the combination.
 7. The method as claimed in claim 1,further comprising: building, by one or more processors, the softwareproduct to include the combination of two or more changesets; andexecuting, by one or more processors, a collective set of tests fortesting the changesets of the combination of two or more changesets inthe software product.
 8. The method as claimed in claim 7, furthercomprising: in response to the collective set of tests including anintegration test case exercising more than one changeset, assigning, byone or more processors, execution priority to the integration test easeover other tests in the collective set of tests.
 9. The method asclaimed in claim 7, further comprising: in response to the softwareproduct passing the collective set of tests, reporting, by one or moreprocessors, each result of the collective set of tests as if each of thechangesets in the combination had been tested individually.
 10. Themethod as claimed in claim 1, further comprising: identifying andhighlighting, by one or more processors, potential interactions betweenchangesets before testing the software product.
 11. The method asclaimed in claim 1, further comprising: prioritizing, by one or moreprocessors, for testing combinations of changesets that have nooverlapping of code.
 12. A computer program product for testing combinedcode changesets in a software product, the computer program productcomprising a computer readable storage medium having program codeembodied therewith, wherein the computer readable storage medium is nota transitory signal per se, and wherein the program code is readable andexecutable by a processor to perform a method comprising: determiningwhether there is sufficient building and testing capacity to test asingle changeset individually, wherein a changeset is a set of changesto a software product; in response to determining that there issufficient building and testing capacity to test the single changesetindividually, building and testing the single changeset individually;and in response to determining that there is not sufficient building andtesting capacity to test the single changeset individually: selecting afirst combination of changesets from multiple changesets; calculating,for each combination of two or more changesets from the multiplechangesets, an interaction between changesets in said each combination,wherein the interaction is an overlapping of code found in two or morechangesets; determining that the first combination of changesets has alower amount of overlapping of code than any other combination ofchangesets from the multiple changesets; and selecting the firstcombination of changesets for building and testing, wherein said firstcombination of changesets has the lower amount of overlapping of codethan any other combination of changesets from the multiple changesets;and building and testing, by one or more processors, the firstcombination of changesets.
 13. The computer program product of claim 12,wherein calculating an interaction between changesets uses code coveragetechniques.
 14. The computer program product of claim 12, whereincalculating an interaction between changesets comprises: creating two ormore proposed build combinations of three or more changesets; executinga set of test cases that test each of the three or more changeset undera predefined set of test scenarios; and determining an overlap of testcases in each of the proposed build combinations.
 15. The computerprogram product of claim 12, wherein selecting the first combination oftwo or more changesets for building and testing comprises: determining acombination of two or more changesets having a predetermined minimuminteraction for a predetermined maximum number of changesets in thecombination.
 16. The computer program product of claim 12, wherein themethod further comprises: building the software product to include thecombination of two or more changesets; and executing a collective set oftests for testing the changesets of the combination of two or morechangesets in the software product.
 17. The computer program product ofclaim 12, wherein the method further comprises: identifying andhighlighting potential interactions between changesets before testingthe software product.
 18. A computer system comprising: a hardwareprocessor, a computer readable memory, and a computer readable storagemedium; first program instructions to determine whether there issufficient building and testing capacity to test a single changesetindividually, wherein a changeset is a set of changes to a softwareproduct; second program instructions to, in response to determining thatthere is sufficient building and testing capacity to test the singlechangeset individually, build and test the single changesetindividually; and third program instructions to, in response todetermining that there is not sufficient building and testing capacityto test the single changeset individually: select a first combination ofchangesets from multiple changesets; calculate, for each combination oftwo or more changesets from the multiple changesets, an interactionbetween changesets in said each combination, wherein the interaction isan overlapping of code found in two or more changesets; determine thatthe first combination of changesets has a lower amount of overlapping ofcode than any other combination of changesets from the multiplechangesets; and select the first combination of changesets for buildingand testing, wherein said first combination of changesets has the loweramount of overlapping of code than any other combination of changesetsfrom the multiple changesets; and fourth program instructions to buildand test the first combination of changesets; and wherein the first,second, third, and fourth program instructions are stored on thecomputer readable storage medium and executed by the hardware processorvia the computer readable memory.